home *** CD-ROM | disk | FTP | other *** search
- /* HEADER.H Header is a bar and text over it, included into
- a Carcase (border of any type) */
-
- #ifndef __HEADER_H_
- #define __HEADER_H_
-
- #include <string.h>
- #include "carcase.h"
- #include "patterns.h"
- #include "khbgi.h"
-
- class Header : public Carcase
- {
- protected:
- char* header; // Text, centered
- int len; // If = 0 - calculate. Text.
- int hdr_pattern; // Pattern number (PATTERN.*)
- BORDERS hdr_b_type; // CARCASE.H
- public:
- Header(char* h, int ln = 0, BORDERS b = SHOW_BORDER, int pat = 0);
- ~Header() { delete header; }
- void show(loc begin);
- };
-
- #endif __HEADER_H_